﻿using DataAccessObject;
using DataAccessObject.DAO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BUSINESS
{
    public static class BanHocBUS
    {
        static BanHocDAO dao = new BanHocDAO();

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public static List<BANLOPHOC> getAllBanLopHoc()
        {
            return dao.getAllBanHoc();
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="banhoc"></param>
        public static BANLOPHOC insertBanHoc(BANLOPHOC banhoc)
        {
            return dao.insertBanHoc(banhoc);
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="mon_ban"></param>
        public static void insertMonHoc_Ban(MONHOC_BAN mon_ban)
        {
            dao.insertMonHoc_Ban(mon_ban);
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="banhoc"></param>
        public static void updateBanHoc(BANLOPHOC banhoc)
        {
            dao.updateBanHoc(banhoc);
        }
    }
}
